#ifndef PERLIN_H
#define PERLIN_H

#include <math.h>

class Perlin {

private: 
	
	int p[512];
	static Perlin& getInstance(){ static Perlin instance; return instance; }

public:

	Perlin();
	double noise(double x, double y, double z);
	float noisef(float x, float y, float z) { return (float)noise((double)x, (double)y, (double)z); }

};
#endif 